package thingkingInJava.demo;

import org.junit.Test;

public class Main {
    class Bowl{
        Bowl(int marker){
            System.out.println("bowl("+marker+")");
        }
        void f1(int marker){
            System.out.println("f1("+marker+")");
        }
    }

    class Table{
//        static Bowl bowl1=new Bowl(1);
        Table(){
            System.out.println("Table()");
//            bowl1.f1(1);
        }
    }

    static void args(Object... args){
        System.out.println(args.length);
        for(Object obj : args){
            System.out.println(obj);
        }
    }

    @Test public void f(){
//        ff((byte)0xff,(byte)0xaa,(byte)0x00);
        ff((short)1,(short)1);
    }
    static void ff(short... args){
        System.out.println(args.getClass());
//        Character c = '1';
//        System.out.println(c.getClass());
    }
    public static void main(String[] args){

        args();
//        System.out.println((int)main.c);

//        Person  person =new Person();
//        new Person();
//        new Person();
//        new Person();
//        new Person();
//        System.gc();
//        Apple apple = new Apple();
//        person.eat(apple);

    }
}
